package com.cww.study.po;

import com.cww.study.mybatis.UUIdGenId;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @program: cww_project
 * @description:
 * @author: 陈亮
 * @create: 2022-03-12 13:34
 */
@Data
@Table(name = "USER")
public class User implements Serializable {

    @Id
    @Column(name = "ID")
    @KeySql(genId = UUIdGenId.class)
    private String id;

    @Column(name = "LOGIN_NAME")
    private String loginName;

    @Column(name = "PWD")
    private String pwd;

    @Column(name = "TEL")
    private String tel;

    @Column(name = "SEX")
    private String sex;

    @Column(name = "CREATE_TIME")
    private String createTime;

    @Column(name = "IS_SUPER")
    private String isSuper;// 1是0否

    @Column(name = "DELETE_FLAG")
    private String deleteFlag;// 1是0否

    @Column(name = "STATE")
    private String state;
}
